
.readbarbox {
    .sharebg {
        width: 100vw;
        height: 100vh;
        display: none;
        z-index: 50;
        position: absolute;
        background-color: rgba(0, 0, 0, 0.363);

        &.con {
            display: block;
        }
    }

    .sharecontent {
        z-index: 51;
        height: 151px;
        width: 100%;
        position: absolute;
        bottom: -160px;
        left: 0;
        box-sizing: border-box;
        display: flex;
        justify-content: space-around;
        background-color: var(--readbar-color);
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        align-items: center;
        transition: all 0.3s ease-in-out;

        &.con {
            bottom: -1px;
        }

        .shareminbox {
            display: flex;
            flex-direction: column;
            align-items: center;

            .sharebutton {
                width: 55px;
                height: 55px;
                border-radius: 50%;
                position: relative;
                background-color: white;

                .iconbox {
                    margin: auto;
                    left: 0;
                    right: 0;
                    top: 0;
                    bottom: 0;
                    width: 30px;
                    height: 30px;
                    position: absolute;

                    img {
                        width: 100%;
                    }
                }
            }

            p {
                margin-top: 8px;
                font-size: 12px;
                color: #999;
            }
        }

    }

    .light {
        z-index: 51;
        width: 100%;
        position: absolute;
        height: 100px;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        transition: all 0.3s ease-in-out;
        background-color: var(--readbar-color);
        bottom: -110px;
        align-items: center;
        display: flex;
        justify-content: space-around;

        &.con {
            bottom: 68px;
        }

        .lightbox {
            width: 44px;
            height: 44px;
            background-color: white;
            border-radius: 50%;
            &.con{
                border: 1px solid #447dc3;
            }
            &:nth-child(2) {
                background-color: #f5f0dd;
            }

            &:nth-child(3) {
                background-color: #c8ebca;
            }

            &:nth-child(4) {
                background-color: black;
            }
        }
    }
    .readtype{
        z-index: 51;
        width: 100%;
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100px;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        transition: all 0.3s ease-in-out;
        background-color: var(--readbar-color);
        bottom: -110px;
        box-sizing: border-box;
        padding: 10px 20px;
        align-items: center;
        justify-content: space-around;
        .fontsize{
            width: 100%;
            display: flex;
            align-items: center;
            .ant-slider{
                flex: 1;
                margin-left: 16px;
                touch-action: none;
                &:hover .ant-slider-rail {
                    background-color: #f5f5f5;
                }
                .ant-slider-track{
                    background-color: var(--slider-color);
                }
                .ant-slider-handle{
                    border: var(--sliderborder-color);
                }
            }
            i{
                text-align: center;
                width: 40px;
                font-size: 16px;
                color: var(--icon-color);
            }
        }
        .lineheight{
            width: 100%;
            font-size: 14px;
            color: var(--tips-color);
            display: flex;
            align-items: center;
            .left{
                width: 40px;
                text-align: center;
            }
            .ant-slider{
                margin-left: 16px;
                flex: 1;
                &:hover .ant-slider-rail {
                    background-color: #f5f5f5;
                }
                .ant-slider-track{
                    background-color: var(--slider-color);
                }
                .ant-slider-handle{
                    border: var(--sliderborder-color);
                }
            }
        }
        &.con {
            bottom: 68px;
        }
    }
    .artlist {
        z-index: 51;
        width: 100%;
        height: 600px;
        position: absolute;
        bottom: -610px;
        box-sizing: border-box;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        background-color: var(--box-color);
        transition: all 0.3s ease-in-out;
        color: var(--font-color);
        overflow-y: scroll;

        &.con {
            bottom: 69px;

            .listtitle {
                bottom: 600px;
            }
        }

        .listblankbox {
            height: 71px;
            width: 100%;
        }

        .listtitle {
            transition: all 0.3s ease-in-out;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;
            background-color: var(--box-color);
            position: fixed;
            width: 100%;
            padding: 0 20px;
            bottom: -80px;
            padding-top: 20px;
            font-size: 24px;
            font-weight: bold;
            padding-bottom: 14px;
            border-bottom: 1px solid var(--border-color);
        }

        .listcontent {
            padding: 0 20px;

            .listminbox {
                padding: 18px 0;
                font-size: 16px;
                color: var(--font-color);
                border-bottom: 1px solid var(--border-color);

                &.con {
                    color: #447dc3;
                }
            }
        }
    }

    &.show {
        .topreadbar {
            top: -1px;
            opacity: 1;
        }

        .bottomreadbar {
            bottom: -1px;
            opacity: 1;
        }
    }

    .topreadbar {
        padding-top: 10px;
        padding: 0 16px;
        justify-content: space-between;
        display: flex;
        z-index: 50;
        opacity: 0.1;
        position: fixed;
        width: 100%;
        height: 60px;
        line-height: 60px;
        top: -70px;
        left: 0;
        transition: all 0.3s ease-in-out;
        box-sizing: border-box;
        background-color: var(--readbar-color);

        .back {
            i {
                width: 24px;
                height: 24px;
                font-size: 24px;
                color: var(--icon-color);
                font-weight: bold;
            }
        }

        .topbarright {
            i {
                width: 24px;
                height: 24px;
                font-size: 24px;
                color: var(--icon-color);

                &.icon-jiarushujia {
                    margin-right: 26px;
                    width: 22px;
                    height: 22px;
                    font-size: 22px;
                }

                &.icon-yijiarushujia {
                    margin-right: 26px;
                    width: 22px;
                    height: 22px;
                    font-size: 22px;
                }
            }
        }
    }

    .bottomreadbar {
        border-top: 1px solid var(--border-color);
        padding-bottom: 20px;
        padding: 0 26px;
        justify-content: space-between;
        display: flex;
        z-index: 50;
        opacity: 0.1;
        transition: all 0.3s ease-in-out;
        box-sizing: border-box;
        bottom: -70px;
        left: 0;
        position: fixed;
        width: 100%;
        height: 70px;
        line-height: 50px;
        background-color: var(--readbar-color);

        div {
            &.act {
                i {
                    color: #447dc3;
                }
            }
        }

        i {
            width: 24px;
            height: 24px;
            font-size: 24px;
            color: var(--icon-color);
        }
    }
}